namespace LZJob.EF.Migrations
{
    using System;
    using System.Data.Entity.Migrations;
    
    public partial class 创建表 : DbMigration
    {
        public override void Up()
        {
            CreateTable(
                "dbo.Seekers",
                c => new
                    {
                        SeekerID = c.String(nullable: false, maxLength: 18),
                        Phone = c.String(maxLength: 11),
                        Fingerprint1 = c.String(),
                        Fingerprint2 = c.String(),
                        FaceID = c.String(),
                        Name = c.String(maxLength: 15),
                        FamilyRegister = c.String(),
                        RegionCode = c.String(),
                        Address = c.String(),
                    })
                .PrimaryKey(t => t.SeekerID);
            
        }
        
        public override void Down()
        {
            DropTable("dbo.Seekers");
        }
    }
}
